package com.codingclub.domain.convert;

import com.codingclub.domain.bo.SubjectInfoBO;
import com.codingclub.infra.basic.entity.SubjectInfo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectInfoConverter {
    SubjectInfoConverter INSTANCE=Mappers.getMapper(SubjectInfoConverter.class);

    SubjectInfo covertBoToEntity(SubjectInfoBO subjectInfoBO);

    List<SubjectInfoBO> covertBoToEntity(List<SubjectInfo> subjectInfos);

    List<SubjectInfoBO> convertListInfoToBO(List<SubjectInfo> subjectInfoList);
}
